-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate build system for crab inferring sea.is_dereferenceable #102
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #102 +/- ##
==========================================
- Coverage 95.61% 93.81% -1.81%
==========================================
Files 160 159 -1
Lines 4950 3814 -1136
==========================================
- Hits 4733 3578 -1155
- Misses 217 236 +19 ☔ View full report in Codecov by Sentry. |
I found annoying in this command:
that we need two crab-related options: |
We implemented those two scripts for paper experiments. For now, we wish to have more experiments on |
To use crab infer
sea.is_dereferenceable
, need to do the following:(1) At the build stage, you are required to specify
-DSEA_ENABLE_CRAB=ON
if you use crab.(2) We add several adaptions for crab:
- We added an assumption that malloc cannot fail. That is, we assume every allocation cannot fail.
- We added an assumption that an
aws_string
cannot be empty.(3) To run an individual job, use the following command:
the optional flag
--crab
allows Seahorn to run crab inside the opsem2 BMC engine.(4) For the experiment, you are required to run the following command to get results by a
csv
file:Note: This PR is guided by @caballa.